<?php 
session_start(); 
$websitePermission = 5;
include "headerVerify.php";
include "connect.php";
?>

<html>
<head>
<title>MyAccount | <?php echo $_SESSION['websiteAddress'] ?></title>

<link href="css/adminMain.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link href="css/products.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
</script>
</head>

<body >

<div id="adminPageContainer">

<?php 

include "header.php";
include "navigation.php";

//Update message details - display if something has been updated
if ($_SESSION['updateMessage'] != "")
{
echo "<SCRIPT>";
echo "alert('".$_SESSION['updateMessage']."')";
echo "</SCRIPT>";
}

$_SESSION['updateMessage'] = "";

?>

<?php $result = mysql_query("SELECT * FROM categories ");

while($row = mysql_fetch_array($result))
  {
  $categoryID = $row['categoryID'];
  $catagoryName = $row['catagoryName'];
  
    
  }
  
?>
 


</div>
</body>
</html>